<div id="escort-dashboard" class="one_full">
	<section class="draggable title">
		<h4><?php echo lang('escort_dashboard_title'); ?></h4>
		<a class="tooltip-s toggle" title="Toggle this element"></a>
	</section>
	<section class="item">
		<ul>
			<li>
				<h4><a href="./admin/message"><?php echo lang('escort_dashboard_unread_message')?></a></h4>
				<p class="item_body"><?php printf(lang('escort_dashboard_unread_message_number'), $unreadMessages)?></p>
				<div class="clear"></div>
			</li>
			<li>
				<h4><a href="./admin/be_escort"><?php echo lang('escort_dashboard_discount')?></a></h4>
				<p class="item_body"><?php printf(lang('escort_dashboard_discount_number'), $activeDiscount)?></p>
				<div class="clear"></div>
			</li>
			<li>
				<h4><a href="./admin/be_photo"><?php echo lang('escort_dashboard_objective_label')?></a></h4>
				<p class="item_body"><?php printf(lang('escort_dashboard_objective_number'), $completedObjective)?></p>
				<div class="clear"></div>
			</li>
			<li>
				<h4><a href="./admin/be_escort"><?php echo lang('escort_dashboard_volume_discount')?></a></h4>
				<p class="item_body"><?php printf(lang('escort_dashboard_volume_discount_number'), $numberOfUser,  $activeVolumeDiscount)?></p>
				<div class="clear"></div>
			</li>
			<li>
				<h4><a href="./admin/be_escort"><?php echo lang('escort_dashboard_payment')?></a></h4>
				<p class="item_body"><?php printf(lang('escort_dashboard_payment_number'), $expenseOfMonth)?></p>
				<div class="clear"></div>
			</li>
			<li>
				<h4><a href="./admin/be_escort"><?php echo lang('escort_dashboard_invoice')?></a></h4>
				<p class="item_body"><?php printf(lang('escort_dashboard_invoice_number'), $activeInvoice)?></p>
				<div class="clear"></div>
			</li>
			<li>
				<h4><a href="./admin/be_escort"><?php echo lang('escort_dashboard_withdrawal')?></a></h4>
				<p class="item_body"><?php printf(lang('escort_dashboard_withdrawal_number'), $pendingWithdrawal)?></p>
				<div class="clear"></div>
			</li>
		</ul>
	</section>
</div>
<div id="escort-invoice-statistic" class="one_full">
	<section class="draggable title">
		<h4><?php echo lang('escort_dashboard_invoices_statistic_label'); ?></h4>
		<a class="tooltip-s toggle" title="Toggle this element"></a>
	</section>
	<section class="item">
		<ul>
			<li>
				<div id="invoice_filter">
					<input type="text" name="from_date" id="from_date" value="<?php echo format_date(time() - 30*24*60*60);?>"/>
					<input type="text" name="to_date" id="to_date" value="<?php echo format_date(time());?>"/>
					<?php echo form_button('update_invoice_chart', lang('escort_dashboard_update_invoices_chart_label'), 'id="update_invoice_chart"')?>
				</div>
			</li>
			<li>
				<div id="invoice_chart">
				</div>
			</li>
		</ul>
	</section>
</div>